package org.migrantalks.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysUser implements Serializable {

    private Long id;

    private String userName;

    private String loginName;

    private String pass;

    private String email;

    private String mobile;

    private String theme;

    private String avatar;

    private String status;

    private String isDeleted;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreated;

    private Long creater;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;

    private Long modifier;
}
